
<div class="wind_content1R" style="background:none;">
        <div class="wind_index_title">
          <div class="wind_index_titleson" >
            <img src="{$vo.avatar}" style="border-radius:6px; width: 139px;height: 127px; " />
            <ul class="wind_index_titleUL">
              <li style="font-size:20px;font-weight:bold;">{$vo.username}</li>
              <li>用户类型：设计师</li>
              <li>最新消息：（<span><a style="color:#FF0000;" href="index.php?g=User&m=Zforum_theme&a=message"><?php $count = M('Zforum_message')->where('userid='.$vo['id'].' and `read`=0')->count(); echo $count; ?></a></span>）</li>
              <li>
                <!--  <span style="float:left;">资料完善：</span>
                  <span class="wind_index_titlespan2">
                    <span class="wind_index_titlespan3" style="width:90%;"></span>
                  </span>
                  <span  style="font-size:12px;color:#FF0000;">90%</span>-->
              </li>
            </ul>
          </div>
          <ul style="float:left;">
            <li class="wind_index_titleson2">
              <ul>
                <li style="color:#FF0000;font-size:25px;">{$vo.case_num}</li>
                <li style="font-size:14px;font-weight:bold;">上传的作品</li>
                <a href="index.php?g=User&m=Designer&a=index"><li class="wind_index_titleson3">查看</li></a>
              </ul>
            </li>
            <li class="wind_index_titleson2">
              <ul>
                <li style="color:#FF0000;font-size:25px;"><?php $count = M('Zforum_message')->where('userid='.$vo['id'])->count(); echo $count; ?></li>
                <li style="font-size:14px;font-weight:bold;">我的消息</li>
                <a href="index.php?g=User&m=Zforum_theme&a=message"><li class="wind_index_titleson3">查看</li></a>
              </ul>
            </li>
            <li class="wind_index_titleson2">
              <ul>
                <li style="color:#FF0000;font-size:25px;"><?php $count=M(User_message)->where("touserid=".$vo['id']." or usergroup=4 or usergroup=1  ")->count();echo $count ?></li>
                <li style="font-size:14px;font-weight:bold;">站内信</li>
                <a href="/index.php?g=User&m=Index&a=message"><li class="wind_index_titleson3">查看</li></a>
              </ul>
            </li>
            <li class="wind_index_titleson2">
              <ul>
                <li style="color:#FF0000;font-size:25px;">0</li>
                <li style="font-size:14px;font-weight:bold;">发布的帖子</li>
                <a href=""><li class="wind_index_titleson3">查看</li></a>
              </ul>
            </li>
          </ul>
          <div style="clear:both;"></div>
        </div>
        <div style="width:100%;height:auto !important;margin-top: 25px;">
          <div class="wind_index_contentL">
              <span class="wind_index_contentLspan1">最新消息</span>
              <a href="index.php?g=User&m=Zforum_theme&a=message" style="float:right;color:#BBB;padding-top: 8px;">查看更多</a>
              <div style="clear:both;"></div>
              <ul class="wind_index_contentLul">
                        <?php  $_result=M("Zforum_message")->where("userid=".$vo['id'])->order("id desc")->limit("8")->select();; if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
                 
                        <li>
                          <a href="{$r[url]}" style="font-weight:bold;">【论坛】{$r['reply_uname']} 回复了你的 {$r['theme_title']|str_cut=###,24}</a>
                          <span style="float:right;color:#BBB;">{$r['createtime']|date="Y/m/d",###}</span>
                        </li>
                   <?php endforeach;endif;?>
              <!--  <li>
                  <a href="" style="font-weight:bold;">【论坛】马大哈 评论了你的 美式咖啡厅的装修小技巧</a>
                  <span style="float:right;color:#BBB;">2015/5/7</span>
                </li>
                <li>
                  <a href="" style="font-weight:bold;">【论坛】马大哈 评论了你的 美式咖啡厅的装修小技巧</a>
                  <span style="float:right;color:#BBB;">2015/5/7</span>
                </li>
                <li>
                  <a href="" style="font-weight:bold;">【论坛】马大哈 评论了你的 美式咖啡厅的装修小技巧</a>
                  <span style="float:right;color:#BBB;">2015/5/7</span>
                </li>
                <li>
                  <a href="" style="font-weight:bold;">【论坛】马大哈 评论了你的 美式咖啡厅的装修小技巧</a>
                  <span style="float:right;color:#BBB;">2015/5/7</span>
                </li>
                <li>
                  <a href="" style="font-weight:bold;">【论坛】马大哈 评论了你的 美式咖啡厅的装修小技巧</a>
                  <span style="float:right;color:#BBB;">2015/5/7</span>
                </li>
                <li>
                  <a href="" style="font-weight:bold;">【论坛】马大哈 评论了你的 美式咖啡厅的装修小技巧</a>
                  <span style="float:right;color:#BBB;">2015/5/7</span>
                </li>
                <li>
                  <a href="" style="font-weight:bold;">【论坛】马大哈 评论了你的 美式咖啡厅的装修小技巧</a>
                  <span style="float:right;color:#BBB;">2015/5/7</span>
                </li>
                <li>
                  <a href="" style="font-weight:bold;">【论坛】马大哈 评论了你的 美式咖啡厅的装修小技巧</a>
                  <span style="float:right;color:#BBB;">2015/5/7</span>
                </li>-->
              </ul>
          </div>
        </div>
        <div class="wind_index_contentL" style="float:right;">
              <span class="wind_index_contentLspan1">站内信</span>
              <a href="index.php?g=User&m=Index&a=message" style="float:right;color:#BBB;padding-top: 8px;">查看更多</a>
              <div style="clear:both;"></div>
              <ul class="wind_index_contentLul">
                  <?php $result=M(User_message)->where("(touserid=".$vo['id']." or usergroup=4 or usergroup=1) and createtime>=".$vo['createtime'])->order('id desc')->limit('8')->select();
                     foreach($result as $key=>$val){
                     
                  ?>
                        <li>
                          <a href="index.php?g=User&m=Index&a=message_show&id={$val['id']}" style="font-weight:bold;"> {$val['title']}</a>
                          <span style="float:right;color:#BBB;">{$val.createtime|toDate=###,'Y-m-d H:i:s'}</span>
                        </li>
                       
                        
                  <?php } ?>
              </ul>
          </div>
        </div>
    </div>
    <div style="clear:both;margin-bottom:20px;"></div>
  </div>
</div>

<div class="clear"></div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                